#ifndef THREAD_H
#define THREAD_H

#include"PGerneralHead.h"

/**
INFO:
	this class is the virtual thread class
Author:
	Mark on 2014/4/8
	<mark199312@gmail.com>
*/

class Thread
{
private:
	std::string threadName;
public:
    Thread(std::string tName="noName"):threadName(tName){}

	std::string getTName()
	{
		return this->threadName;
	}
    ~Thread(){}
    /**
	the actual command logic resides in Execute ()
	*/
	virtual void run(){logInfo("virtual thread");}
};

#endif
	  

